package com.open.demo.设计模式

interface Computer {
    val cpu:String
}

class PC(override val cpu:String="Core i5"):Computer
class Server(override val cpu:String="Xeon"):Computer

enum class ComputerType {
    PC, Server
}

class 创建型模式 {
}

fun main() {
}

